import {createStore,combineReducers} from 'redux'
import car from './car.reducer'
let reducer = combineReducers({  //合并多个reducer
    car
})

let store = createStore(reducer) //创建仓库  分配管理员  reducer 必须是一个函数

export default store